#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

//============================================================
typedef NS_ENUM(int, MRVoiceType) {
	MRVoiceTypeNormal			,
	
	MRVoiceTypeSportSecond		,		//倒计时声音
	MRVoiceTypeSportStart		,	//开始运动
	MRVoiceTypeSportPause		,	//运动暂停
	MRVoiceTypeSportResume		,	//恢复运动
	MRVoiceTypeSportStop		,	//停止运动
};

@protocol MRVoiceDelegate <NSObject>
@optional
- (void)willStartVoice:(MRVoiceType)type text:(NSString *)text;

@end

@interface MRVoice : NSObject

@property (nonatomic) id <MRVoiceDelegate>		delegate;

+ (void)background;

+ (void)sound:(MRVoiceType)type;
+ (void)voice:(NSString *)text;

+ (void)stop;

@end

